package constants

import (
	"os"
	"path/filepath"
	"runtime"
)

var LineSep string
var RootPath string

func init() {
	switch runtime.GOOS {
	case "darwin", "freebsd", "linux":
		LineSep = "\n"
	default:
		LineSep = "\r\n"
	}
	RootPath, _ = filepath.Abs(filepath.Dir(os.Args[0]))
}
